package com.frank.loadinglibrary.base.baseelement;

import com.frank.loadinglibrary.base.baseanimations.BaseAnimationController;

public class BaseBallElement extends BaseElement {

    public boolean enableRotationAnimator = false;

    private int ballCount = 10;

    protected String[] colorPalette;

    public BaseBallElement setEnableRotationAnimator(boolean enableRotationAnimator) {
        this.enableRotationAnimator = enableRotationAnimator;
        return this;
    }

    public BaseBallElement setBallCount(int ballCount) {
        this.ballCount = ballCount;
        return this;
    }

    public BaseBallElement setColorPalette(String[] colorPalette) {
        this.colorPalette = colorPalette;
        return this;
    }

    public int getBallCount() {
        return ballCount;
    }

    @Override
    public BaseAnimationController.IAnimationController initAnimationController() {
        return null;
    }
}
